﻿using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Server
{
    public partial class FrmLogin : UIForm
    {
        public FrmLogin()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            UIMessageTip.ShowWarning("系统关闭中。。。");
            System.Threading.Thread.Sleep(2000);  //2秒
            Application.Exit();
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            UIMessageTip.ShowOk("账号密码验证中。。。");
            System.Threading.Thread.Sleep(1000);  //1秒
            this.Hide();
            FrmMain frmMain = new FrmMain();
            frmMain.Show();
            this.ShowSuccessNotifier("登陆成功，欢迎您：涛哥");
        }
    }


}
